#include "UiRadioPageTwo.h"



CUiRadioPageTwo::CUiRadioPageTwo()
{

}

CUiRadioPageTwo::~CUiRadioPageTwo()
{
}

void CUiRadioPageTwo::PaintWinEx(HDC hdcMem, unsigned char * &hdc, RECT* prcWin, RECT* prcUpdate)
{

}
BOOL CUiRadioPageTwo::InitUiWin(void)
{
/*****************m_BtnUiMidbody*************************************/	
	
	RECT rtBtnPresetChannel[EX_MAX_PRESET_CHANNEL] = 
	{
		100, 95, 277, 160,
		100, 160, 277, 225,
		300, 95, 477, 160,
		300, 160, 477, 225,
	};
	m_ImgPresetN.LoadImage(MzGetInstanceHandle(), 1054);
	m_ImgPresetP.LoadImage(MzGetInstanceHandle(), 1055);
	for(UINT i = EX_PRESET_CHANNEL_ONE; i < EX_MAX_PRESET_CHANNEL; i++)
	{
		m_BtnPreset[i].SetPos(rtBtnPresetChannel[i].left, rtBtnPresetChannel[i].top, 
											rtBtnPresetChannel[i].right-rtBtnPresetChannel[i].left, rtBtnPresetChannel[i].bottom-rtBtnPresetChannel[i].top);
		m_BtnPreset[i].SetID(1050+i);
		m_BtnPreset[i].SetNormalImage(m_ImgPresetN);
		m_BtnPreset[i].SetPressedImage(m_ImgPresetP);

		AddChild(&m_BtnPreset[i]);
	}

/*****************m_BtnUiMidbody*************************************/	
	return TRUE;
}